package com.xwj.back.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Menu {
    private Integer id;
    private String label;
    private String path;
    private String icon;
    private Integer pid;

    @TableField(exist = false)
    private List<Menu> children;
}
